package com.hsfw.dbmodule.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface DeployDataDao {
    public List<HashMap<String, Object>> getDeployTreeOfDFMenuByNodeID(@Param("nodeId") String nodeId);
    public List<HashMap<String, Object>> getDeployTreeOfHRMenuByNodeID(@Param("nodeId") String nodeId);
    public List<HashMap<String, Object>> getDirDataByNodeId(@Param("nodeId") String nodeId);
    public List<HashMap<String, Object>> getFileDataByNodeId(@Param("nodeId") String nodeId);
    public List<String> getChildDirIdListByParentIdList(@Param("parentGuidStr") String parentGuidStr);
    public List<HashMap<String, Object>> getFileDataByParentId(@Param("parentGuidStr") String parentGuidStr,
                                                                    @Param("startNum") int startNum,
                                                                    @Param("pageNum") int pageNum);
    public String getFileCount(@Param("parentGuidStr") String parentGuidStr);
    public Object getIconImage(@Param("tableName") String tableName, @Param("guid") String guid);
}
